<% layout('layout') -%><!--加载全局布局文件-->
<% block('head').append('<link type="text/css" href="/xxxx.css">') %>
<!--在这里编写你的代码-->
<!---头部代码，根据页面选择是否使用-->
<header data-am-widget="header" class="am-header am-header-default" >
    <div class="am-header-left am-header-nav">
        <a href="#left-link" class="">
            <i class="am-header-icon am-icon-home"></i>
        </a>
    </div>
    <h1 class="am-header-title">
        <a href="#title-link" class=""><%= title %></a>
    </h1>
    <div class="am-header-right am-header-nav">
        <a href="#right-link" class="">
            <i class="am-header-icon am-icon-bars"></i>
        </a>
    </div>
</header>
<!---头部代码结束-->
<div ng-controller="ProductCtrl">
    <div>TEST DEMO!!</div>
    <div><%= product.get('name') %></div>
    <div>
        count:<input type="text" name="" ng-model="count"/>
    </div>
    <div>
        <button id="button" ng-click="test()" >点我</button><p >{{count}}</p>
    </div>
    <span class="am-icon-trash"></span>
</div>
<!---启用底部navbar-->
<% include ../navbar.ejs %>